using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class StartToggle : MonoBehaviour
{
    public void SetHero()
    {
        var iftrue = GetComponent<Toggle>().isOn;
        GameManager.instance.ifHeroMode = iftrue;
    }

    public void SetPossession()
    {
        var iftrue = GetComponent<Toggle>().isOn;
        GameManager.instance.ifPossessionMode = iftrue;
    }
}
